﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="listNoidung.ascx.cs" Inherits="Admin_ucControl_listNoidung" %>
<br />
<asp:HyperLink ID="hyThem" runat="server" NavigateUrl="~/Admin/them-sua-noi-dung-tieu-de-trang.aspx">Thêm mới nội dung tiêu đề</asp:HyperLink><br />
<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="70%"
    OnRowDataBound="GridView1_RowDataBound">
    <Columns>
        <asp:HyperLinkField DataTextField="ID" DataNavigateUrlFormatString="~/Admin/them-sua-noi-dung-tieu-de-trang.aspx?id={0}"
            HeaderText="ID" DataNavigateUrlFields="ID" HeaderStyle-Width="50px" HeaderStyle-HorizontalAlign="Center">
            <HeaderStyle Width="50px"></HeaderStyle>
            <ItemStyle HorizontalAlign="Center" />
        </asp:HyperLinkField>
        <%--<asp:BoundField DataField="Information" HeaderText="Information" ItemStyle-Width="350px" />--%>
        <asp:TemplateField HeaderText="Noidung" ItemStyle-Width="350px">
            <ItemTemplate>
              <%--  <asp:Label ID="Noidung" runat="server"></asp:Label>--%>
                  <%# Eval("Noidung") %>
            </ItemTemplate>
            <ItemStyle Width="350px"></ItemStyle>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Danh mục">
            <ItemTemplate>
                <%--<asp:Label ID="danhmuc" runat="server"></asp:Label>--%>
                <%# Eval("MenuName") %>
            </ItemTemplate>
        </asp:TemplateField>
        <%--  <asp:BoundField DataField="MenuItemName" HeaderText="Type" ItemStyle-Width="150px" />--%>
    </Columns>
</asp:GridView>
